import {get} from '@/common/js/httpHelper'
import * as url from '@/common/js/interfaces'

const getCategories = async () => {
  const result = await get(url.findCategories)
  return result.data
}

export default {
  getCategories: getCategories
}
